package compiler.IR;

import java.util.HashSet;
import java.util.LinkedList;

import compiler.PrettyPrinter;
import compiler.Exceptions.ClassErrorMethod;
import compiler.Exceptions.CodeGenException;
import compiler.Exceptions.MethodNotFound;
import compiler.Exceptions.TypeCheckerException;

public class MJNew extends MJExpression {
	
	MJIdentifier id;
	
	
	public MJNew(MJIdentifier id){
		this.id=id;
	}
	
	public void prettyPrint(PrettyPrinter prepri) {
		prepri.print("new ");
		this.id.prettyPrint(prepri);
		prepri.print("()");
	}

}
